# -*- coding:utf-8 -*-
# @Author: shenyuyu
# @Time: 2023/6/13 19:34
# @File: qu_1.py

"""
冒泡排序
"""

l = [1, 22, 3, 14, 5, 6, 6, 1, 23, 4]

for i in range(0, l.__len__()):
    for j in range(i + 1, l.__len__()):
        if l[i] > l[j]:
            tmp = l[j]
            l[j] = l[i]
            l[i] = tmp
print(l)
